package me.ZFC.Text;

public class Test18 {
    public static void main(String[] args) {
        String str="123321";
        System.out.println(check(str));
    }
    public static boolean check(String str){
        StringBuilder sb=new StringBuilder(str);
        String result=sb.reverse().toString();
        return result.equals(str);
    }
}
